import request from '@/utils/request'

// 封装登录api登录请求
export const login = data => request.post('/auth/login', data)

// 获取layout登录
export const getUser = () => request.get('/auth/currentUser')
